package functii.elementare;
import functii.Functie;

public class Exponentiala extends Functie{
	
	public String concatTermeni(String a, String b){
		String aux;
		if(a.compareTo("0") == 0 && b.compareTo("0")==0)
			aux=a;
		else 
			if(a.compareTo("0")==0)
				aux="0";
			else
				if(b.compareTo("0")==0)
					aux="1";
				else 
					aux=a + "^" + b;
		return aux;
	
	}
	public static String concatTermens(String a, String b){
		String aux;
		if(a.compareTo("0") == 0 && b.compareTo("0")==0)
			aux=a;
		else 
			if(a.compareTo("0")==0)
				aux="0";
			else
				if(b.compareTo("0")==0)
					aux="1";
				else 
					aux=a + "^" + b;
		return aux;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public String concatTermeni(String aux) {
		// TODO Auto-generated method stub
		return null;
	}
}
